package com.xm.data.service;

import com.xm.data.entiry.HistoryData;
import com.xm.data.entiry.StatType;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface HistoryDataService {

    @Transactional(rollbackFor = Exception.class)
    void bulkSave(List<HistoryData> dataList, StatType type, int granularity);
}
